<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>对象说明($modelList.size())</title>
<link href="css.css" rel="stylesheet" type="text/css" charset="utf-8" />
<script type="text/javascript" src="js.js" charset="utf-8"></script>
</head>
<!-- mcr start -->
#*
	<p data-mce-style="margin-left: 60.0px;">
	<img data-macro-default-parameter="$!name" data-macro-name="anchor" data-mce-src="$!anchor_icon_src" src="$!anchor_icon_src" />
	</p>
*#
$MU.setContext($CONTEXT)
#set($anchor_icon_src='http://wk.gewara.com/plugins/servlet/confluence/placeholder/macro?definition=e2FuY2hvcjpTY2hlZHVsZVRpY2tldFByaWNlfQ&amp;locale=zh_CN&amp;version=2')
#macro(Anchor $name)
	<a name="myanchor_$!name"></a> #*my anchor*#
#end
#macro(desc_field $field)
			#if($field.label)
				$!field.label
			#else
				#if($field.id)ID#else&nbsp;#end
			#end

			#set($fieldValueEnum=$MU.getRefEnum($field.reference))
			#if($fieldValueEnum)
				：
				#foreach($entry in $fieldValueEnum.entrySet())
					$entry.key&nbsp;$entry.value
					#if( $foreach.hasNext ),#end
				#end
			#else
				#if($field.label && $field.label.startsWith('是否'))
					：Y 是，N 否
				#end
			#end
			#set($fieldValueEnum=false)
#end
<!-- mcr end -->
<body>
<div id="suspendedMenu"></div>

#foreach($model in $modelList)
	<h4 id="$model.name">
		#if($model.label)$!model.label#else$!model.name#end
	</h4>
	<table>
	  <tbody>
		<tr>
		  <th>No.</th>
		  <th>参数</th>
		  <th>字段类型</th>
		  <th title="单位,字节数">长度</th>
		  <th>字段说明</th>
		</tr>
	#foreach($field in $model.fields)
		<tr>
		  <td>$foreach.count</td>
		  <td>$!field.name</td>
		  <td>$CSU.getSimpleType($field.type)</td>
		  <td>$!field.length</td>
		  <td>#desc_field( $field )</td>
		</tr>
	#end
	  </tbody>
	</table>
<p>&nbsp;</p>
#end

</body>
<script>
// #foreach($model in $modelList)

	addMenuItem("$model.name");
// #end
</script>
</html>
